var g =1.75
var z=80.5
var BMI=z/(g*g)
console.log(BMI);
if(BMI<18.5)
            {
                alert('你的BMI指数结果为：过轻')
            }else if(BMI>=18.5 && BMI<25){
                console.log('你的BMI指数结果为：正常');
            }else if(BMI>=25 && BMI<28){
                console.log('你的BMI指数结果为：过重');
               
            }else if(BMI>=28 && BMI<32){
                console.log('你的BMI指数结果为：肥胖');
               
            }else{
                console.log('你的BMI指数结果为：严重肥胖');
                
            }


var users = new Map();
users.set("johnny",{name:'johnny',age:23,sex:'M'});
users.set("jane",{name:'jane',age:21,sex:'F'});
users.set("mary",{name:'mary',age:24,sex:'F'});
console.log(users);

